package com.lancoo.taskerdemo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.webkit.WebView;

/**
 * Created by Administrator on 2017/6/20 0020.
 */

public class NewsDetailActivity extends Activity{
    WebView webView;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_news_detail);
        Intent intent=getIntent();
        String news_url=intent.getStringExtra("news_url");
        Log.e("url--->",news_url );
        webView= (WebView) findViewById(R.id.web_view);
        webView.loadUrl(news_url);
    }
}
